package com.itheima.putige.putige.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.itheima.putige.putige.entity.OrderDetail;
import com.itheima.putige.putige.entity.Orders;
import lombok.Data;

import java.util.List;

@Data
public class OrdersDto extends Orders {
    private String userName;//下单号

    private String phone;//联系电话

    private String address;//地址

    private String consignee;//收货人
    @TableField(value = "select * form Order_detail")
    private List<OrderDetail> orderDetails;//订单明细
}
